package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AlbumAddNewDTO {

    @NotBlank(message = "请输入相册名称")
    @NotNull(message = "必须提交相册名称")
    @ApiModelProperty(value = "相册名称", required = true)
    private String name;

    @NotBlank(message = "请输入相册简介")
    @NotNull(message = "必须提交相册简介")
    @ApiModelProperty("相册简介")
    private String description;

    @ApiModelProperty("自定义相册排序号")
    private Integer sort;
}
